package com.example.administrator.gittextdemo;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends AppCompatActivity {
    public EditText username,password;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        username=(EditText)this.findViewById(R.id.id_et_username);
        password=(EditText)this.findViewById(R.id.id_et_password);
    }
    public void login(View v){
        String str_username=username.getText().toString();
        String str_password=password.getText().toString();
        new Thread(new Runnable() {
            @Override
            public void run() {

            }
        }).start();

    }
}
